<?php

class formGemerator
{
    private $a;
    private $m;
    public function __construct()
    {

    }

    public function formGenerator($act, $meth)
    {
        $this -> action($act);
        $this -> method($meth);
    }

    public function action($act)
    {
        $this -> act = $act;
    }

    public function method($method)
    {
        if($method == 1)
        {
            $this -> m = "get";
        }
        else
        {
            $this -> m = "post";
        }
    }

    public function add()
    {
        
    }

    public function generate()
    {

    }
}

?>
